﻿<Page x:Class="RapidTutorialWPF.Canvas3"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Canvas3" xmlns:rl="clr-namespace:Jalindi.RapidLayout;assembly=RapidLayout2009.Windows">
    <rl:RapidPanel>
        <TextBlock rl:RapidPanel.Left="20" rl:RapidPanel.Top="20"  Text="Top Left Item" />
        <Button Name="cling1" rl:RapidPanel.Top="clamp, target=#previous" rl:RapidPanel.Horizontal="left" 
                Content="click this button" Click="cling1_Click" />
        <TextBlock Name="textCling" rl:RapidPanel.Top="clamp, target=#previous"  Text="Cling On" HorizontalAlignment="Right" />
        <TextBlock rl:RapidPanel.Right="20" rl:RapidPanel.Top="20"  Text="Top Right Item" />
        <Button rl:RapidPanel.Top="clamp, target=#previous" Content="cling button" rl:RapidPanel.Horizontal="right" />
        <TextBlock rl:RapidPanel.Top="clamp, target=#previous"  Text="Cling On" HorizontalAlignment="Center" />
        <TextBlock rl:RapidPanel.Left="20" rl:RapidPanel.Bottom="20"  Text="Bottom Left Item" />
        <Button rl:RapidPanel.Bottom="clamp, target=#previous" Content="cling button" />
        <TextBlock rl:RapidPanel.Bottom="clamp, target=#previous"  Text="Cling On" />
        <TextBlock rl:RapidPanel.Bottom="20" rl:RapidPanel.Right="20" Text="Bottom Right Item" />
        <Button rl:RapidPanel.Bottom="clamp, target=#previous" Content="cling button" />
        <TextBlock rl:RapidPanel.Bottom="clamp, target=#previous" rl:RapidPanel.Horizontal="center"  Text="Cling On" />
    </rl:RapidPanel>
</Page>
